<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>代码生成器</title>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <link rel="stylesheet" th:href="@{/component/layui/css/layui.css}"/>
    <link rel="stylesheet" th:href="@{/css/public.css}"/>
</head>
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <form class="layui-form" id="generatorForm">
                <div class="layui-form">
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">表名</label>
                            <div class="layui-input-inline">
                                <input id="tableName" name="tableName" class="layui-input" type="text" placeholder="请输入表名"/>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">表描述</label>
                            <div class="layui-input-inline">
                                <input id="tableDescribe" name="tableDescribe" class="layui-input" type="text" placeholder="请输入表描述"/>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <button type="button" id="searchBtn" class="layui-btn layui-btn-normal icon-btn layui-btn-sm">
                                <i class="layui-icon">&#xe615;</i> 搜索
                            </button>
                            <button type="button" id="resetBtn" class="layui-btn layui-btn-primary icon-btn layui-btn-sm">
                                <i class="layui-icon">&#xe669;</i> 重置
                            </button>
                        </div>
                    </div>
                </div>
            </form>

            <table id="generatorTable" lay-filter="generatorTable"></table>
        </div>
    </div>
</div>

<!-- 行工具栏 -->
<script type="text/html" id="generatorBar">
    <a class="layui-btn layui-btn-xs" lay-event="generate">生成代码</a>
</script>

<!-- js -->
<script th:src="@{/component/layui/layui.js}"></script>
<script th:src="@{/assets/common/lay-config.js}"></script>
<script th:src="@{/assets/modular/generator/generator-list.js}"></script>

</body>
</html>